<?php
if (empty($user)) {
  echo '<fb:login-button onlogin="window.location.reload();"></fb:login-button>';
}

